<template>
  <div class="container">
    <div class="totol-invest">
      <van-image width="0.2rem" height="0.2rem" fit="cover" src="https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg" />
      <div class="right">
        <span>累计投入产出</span>
        <span>1234.00K</span>
      </div>
    </div>
    <!-- 锁仓金额 -->
    <div class="lock-amount">
      <div class="lock-left">
        <van-image width="0.2rem" height="0.2rem" fit="cover" src="https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg" />
        <div class="left-des">
          <span>锁仓总金额</span>
          <span>1234.00</span>
        </div>
      </div>
      <div>
        <span>当前释放率：0.200%</span>
        <div>
          加速释放
        </div>
      </div>
    </div>

    <!-- 推荐奖励 -->
    <div class="lock-amount">
      <div class="lock-left">
        <van-image width="0.2rem" height="0.2rem" fit="cover" src="https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg" />
        <div class="left-des">
          <span>锁仓总金额</span>
          <span>1234.00</span>
        </div>
      </div>
      <div class="divider"></div>
      <div >
        <span>当前释放率：0.200%</span>
        <div>
          加速释放
        </div>
      </div>
    </div>

    <!-- 卡片 -->
    <CardItem></CardItem>
  </div>

</template>

<script setup lang="ts">
import CardItem from './components/CardItem.vue'

</script>

<style lang="less" scoped>
.container{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.totol-invest {
  border-radius: 0.1rem;
  background-color: antiquewhite;
  width: 1.8rem;
  height: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  .right{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: 0.1rem;
  }
}
.lock-amount{
  background-color: antiquewhite;
  width: calc(100% - 0.2rem);
  height: 0.7rem;
  margin-top: 0.2rem;
  margin-bottom: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.1rem;
  box-sizing: border-box;
  .lock-left{
    // flex: 1;
    display: flex;
    align-items: center;
    .left-des{
      margin-left: 0.1rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
  }
  .lock-right{
    flex: 1;
  }
  .divider{
    height: 80%;
    border-left: 1px solid #000;
  }
}
</style>